<?php
/**
 * @license http://www.gnu.org/licenses/lgpl.html LGPL
 * @author Harlan Iverson <h dot iverson at gmail dot com>
 * @copyright Copyright (c) 2006, Harlan Iverson.
 * @version $Id: AllTests.php 20 2006-08-01 05:54:40Z Harlan $
 */
 
 
 
define( "PHPUnit_MAIN_METHOD", "AllTests::main" );

require_once 'PHPUnit.php';
require_once 'test-faces.php';
require_once 'test-facelets2smarty.php';

class AllTests {

	public static function main() {
		$result = PHPUnit::run( self::suite() );
		echo $result->toString();	
	}

    public static function suite() {

		$suite  = new PHPUnit_TestSuite();
		$suite->addTestSuite( "FacesContextResolverTest" );
		$suite->addTestSuite( "Facelets2SmartyTest" );
		$suite->addTestSuite( "FaceletsTest" );

        return $suite;
    }
}




if( PHPUnit_MAIN_METHOD == 'AllTests::main' ) {
	AllTests::main();
}

?>